package com.zqxq.lottery.mapper.product;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.zqxq.lottery.entity.bo.product.ProductBO;
import com.zqxq.lottery.entity.bo.product.ProductSearchBO;
import com.zqxq.lottery.entity.po.product.ProductPO;
import com.zqxq.lottery.entity.vo.product.ProductVO;
import org.springframework.stereotype.Component;

import java.util.List;


@Component(value = "productMapper")
public interface ProductMapper extends BaseMapper<ProductPO> {
    List<ProductVO> queryPage(Page page, ProductBO search);
    List<ProductVO> queryPage(ProductSearchBO search);
}
